package com.bkaka.entity;

import java.util.List;

/**
 * Created by maxiaoqiang on 2018/9/14.
 */
public class ExamQuestion {
    private Integer id;
    private Integer examSubjectId;
    private Integer examChapterId;
    private Integer status;
    private String name;
    private Integer level;
    private Integer type;
    private String score;
    private String answer;
    private String analysis;

    private List<ExamQuestionOptions> optionList;

    private ExamAnswerHistory examAnswerHistory;

    public ExamQuestion() {
    }

    public ExamQuestion(Integer id, Integer examSubjectId, Integer examChapterId, Integer status, String name, Integer level, Integer type, String score, String answer, String analysis, List<ExamQuestionOptions> optionList, ExamAnswerHistory examAnswerHistory) {
        this.id = id;
        this.examSubjectId = examSubjectId;
        this.examChapterId = examChapterId;
        this.status = status;
        this.name = name;
        this.level = level;
        this.type = type;
        this.score = score;
        this.answer = answer;
        this.analysis = analysis;
        this.optionList = optionList;
        this.examAnswerHistory = examAnswerHistory;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getExamSubjectId() {
        return examSubjectId;
    }

    public void setExamSubjectId(Integer examSubjectId) {
        this.examSubjectId = examSubjectId;
    }

    public Integer getExamChapterId() {
        return examChapterId;
    }

    public void setExamChapterId(Integer examChapterId) {
        this.examChapterId = examChapterId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public List<ExamQuestionOptions> getOptionList() {
        return optionList;
    }

    public void setOptionList(List<ExamQuestionOptions> optionList) {
        this.optionList = optionList;
    }

    public ExamAnswerHistory getExamAnswerHistory() {
        return examAnswerHistory;
    }

    public void setExamAnswerHistory(ExamAnswerHistory examAnswerHistory) {
        this.examAnswerHistory = examAnswerHistory;
    }

    @Override
    public String toString() {
        return "ExamQuestion{" +
                "id=" + id +
                ", examSubjectId=" + examSubjectId +
                ", examChapterId=" + examChapterId +
                ", status=" + status +
                ", name='" + name + '\'' +
                ", level=" + level +
                ", type=" + type +
                ", score='" + score + '\'' +
                ", answer='" + answer + '\'' +
                ", analysis='" + analysis + '\'' +
                ", optionList=" + optionList +
                ", examAnswerHistory=" + examAnswerHistory +
                '}';
    }
}

